package com.pai4j.user.repository.dao;

import com.pai4j.user.repository.entity.GroupInfoEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface IGroupInfoDAO extends JpaSpecificationExecutor<GroupInfoEntity>, JpaRepository<GroupInfoEntity, Long> {

    GroupInfoEntity findByPaiId(String paiId);

    boolean existsByPaiId(String paiId);
}
